using System;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Data;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
using System.ComponentModel;

namespace Viewer.History.BusinessObject.BusinessEntities
{
    partial class QuanLiLogDataContext
    {
        public List<HistoryGeneral> sp_Log_GetGeneralLogs(DateTime pFromDate, DateTime pToDate)
        {
            var result = this.ExecuteQuery<HistoryGeneral>("exec Log_GetGeneralLogs @FromDate={0}, @ToDate={1} ;", pFromDate, pToDate).ToList();
            return result;
        }
    }
}
